package com.dylan.channel.v5;

import java.io.IOException;

public class NettyServerV5 {

    public static void main(String[] args) throws IOException {
        NioEventLoopGroup bossGroup = new NioEventLoopGroup(1);
        NioEventLoopGroup workGroup = new NioEventLoopGroup(2);
        ServerBootstrap bootstrap = new ServerBootstrap();
        bootstrap.group(bossGroup, workGroup)
                .bind(8086);
    }
}
